﻿@model JobButenko.Models.Vacancy

@{
    ViewBag.Title = "Поиск вакансий";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Поиск вакансий</h2>

@using (Html.BeginForm("Search", "Vacancy", FormMethod.Post))
{
    <div>
        <table>
            <tr>
                <td>Название: </td>
                <td>@Html.TextBoxFor(model => model.VacancyName, new {@class = "serchVacancyTxt"})</td>
            </tr>
            <tr>
                <td>Сфера деятельности:</td>
                <td>@Html.DropDownListFor(model => model.ProfFieldId, (IEnumerable<SelectListItem>) ViewData["ProfField"], new {@class = "serchVacancyDdl"})</td>
            </tr>
            <tr>
                <td>Должность:</td>
                <td>@Html.DropDownListFor(model => model.PostId, (IEnumerable<SelectListItem>) ViewData["Post"], new {@class = "serchVacancyDdl"})</td>
            </tr>
            <tr>
                <td>Зарплата:</td>
                <td>@Html.DropDownListFor(model => model.SalaryId, (IEnumerable<SelectListItem>) ViewData["Salary"], new {@class = "serchVacancyDdl"})</td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                    <input class="buttonForm" type="submit" value="Найти"/>
                </td>
            </tr>
        </table>
    </div>
}